// 引入 request 文件
import request from './index.js'
 
// 获取学习列表详细信息登录
export const getLogin = ({ userMobile, loginPassword }) => {
  return request({
    url: "/app/user/login",
    method: 'post',
    data: {
		loginPassword,
		userMobile,
    }
  });
};
// web用户的注册和修改接口
export const getAddress = () => {
  return request({
    url: "/app/area/addressSetting",
    method: 'get',
  });
};

export const getList = () => {
  return request({
    url: "/app/prod/findList",
    method: 'get',
  });
};

export const getImages = () => {
  return request({
    url: "/app/Index/lunboList",
    method: 'get',
  });
};

export const getBrand = () =>{
	return request({
		url: "/app/category/categoryList",
		method: 'GET',
	})
}